import ajax from '@/utils/ajax'
import type { CustomResponse } from 'uni-ajax'
import type * as dyComplaintModel from '@/api/model/dyComplaintModel'
class DyComplaintService {
    /**
     * 获取用户犯法
     */
    addComplaint(
        params: dyComplaintModel.IAddComplaintParams
    ): Promise<CustomResponse<null>> {
      return ajax.post('/dy/dyComplaint/addComplaint',params)
    }
  }
  
  export default new DyComplaintService()
  